DEF_PROJECT=../../..
include $(DEF_PROJECT)/scripts/main.mk
name=openssh
version=6.1p1
prefix=/usr
destdir=$(DIR_SYSROOT)
deps+=zlib openssl
extdeps=eglibc-tools gcc-tools binutils-tools linux-header-tools

DL_SERV=ftp
DL_HOST=ftp.openbsd.org
DL_PATH=pub/OpenBSD/OpenSSH/portable
DL_SUFFIX=tar.gz

cflags+=--host=$(CC_TARGET)
cflags+=--build=$(CC_HOST)
cflags+=--sysconfdir=/etc/ssh
cflags+=--libexecdir=/usr/sbin
cflags+=--with-md5-passwords
cflags+=--with-privsep-path=/var/lib/sshd
cflags+=--with-default-path="/bin:/usr/bin"
cflags+=--with-superuser-path="/sbin:/bin:/usr/sbin:/usr/bin"


